package com.skytech.component.crawler.parse;

import com.alibaba.fastjson.JSONObject;
import com.skytech.component.crawler.scratch.PageContent;
import com.skytech.component.crawler.scratch.PageContentDAO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
public class SaveDataImpl implements ISaveData {

    @Autowired
    private PageContentDAO pageContentDAO;


    @Transactional
    @Override
    public void saveData(JSONObject jsonObject) {
        //pageContentDAO.save(pageContent);
    }
}
